package com.yuyou.fn.educational.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 教室使用情况
 *
 */
@TableName(value = "room_time")
public class RoomTime implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<RoomTime> createExample(){
		return new Example<RoomTime>(RoomTime.class);
	}

	/**  */
	@TableId(value = "room_time_id")
	private Long roomTimeId;

	/**  */
	@TableField(value = "room_id")
	private Long roomId;

	/** 班级id */
	@TableField(value = "class_id")
	private Long classId;

	/** 主题 */
	private String subject;

	/**  */
	private Date start;

	/**  */
	private Date end;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**拥有该教室时间的业务组*/
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	public Long getRoomTimeId() {
		return this.roomTimeId;
	}

	public void setRoomTimeId(Long roomTimeId) {
		this.roomTimeId = roomTimeId;
	}

	public Long getRoomId() {
		return this.roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Date getStart() {
		return this.start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return this.end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getBusTeamId() {
		return busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}
}
